{include file="public/header" /}
<style>
body{
  background: #FFF;
}
dl{
    display: flex;
    align-items: center;
    margin: 10px 0;
}

dl dt{
    flex: 0 0 100px;
}

dl dd{

}
.content img {
    transition-duration:0.5s;
}
.content img:hover {
    transform: scale(3);
}
.content .imageframe {
    width: 200px;
    height: 113px;
    overflow: hidden;

}
</style>


<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
<div class="page">
    <table class="ds-default-table">
        <thead>
        <tr>
            <th colspan="6">大客户信息</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <th>大客户：</th>
            <td>{$member_array.member_name}</td>
            <th>昵称：</th>
            <td>{$member_array.member_nickname}</td>
            <th>qq：</th>
            <td>{$member_array.member_qq}</td>
        </tr>
        <tr>
            <th>账号状态：</th>
            <td><?php if($member_array['member_state']==0){echo '禁用';}else{ echo '启用';} ?></td>
            <th>添加时间：</th>
            <td>{$member_array.member_addtime|date="Y-m-d H:i:s",###}</td>
            <th>登录次数：</th>
            <td>{$member_array.member_loginnum}</td>
        </tr>
        <tr>
            <th>最近登录时间：</th>
            <td>
                <?php if($member_array['member_loginnum']==0){?>
                未登录
                <?php }else{ ?>
                {$member_array.member_logintime|date="Y-m-d H:i:s",###}
                <?php } ?>
                </td>
            <th>大客户类型：</th>
            <td>{$member_array.memberda_type_name}</td>
            <th></th>
            <td></td>
        </tr>
        </tbody>
        <thead>
        <tr>
            <th colspan="6">公司信息</th>
        </tr>
        </thead>
        <tr>
            <th>企业名称：</th>
            <td>{$member_array.enterprise_name}</td>
            <th>企业类型：</th>
            <td>{$member_array.enterprise_type_name}</td>
            <th>企业座机：</th>
            <td>{$member_array.contact_landline}</td>
        </tr>
        <tr>
            <th>联系人：</th>
            <td>{$member_array.contact_name}</td>
            <th>联系人职位：</th>
            <td>{$member_array.contact_title}</td>
            <th>联系人手机号：</th>
            <td>{$member_array.contact_phone}</td>
        </tr>
    </table>
    <table class="ds-default-table">
        <tr>

            <th>企业地址：</th>
            <td style="width: 89%;">{$member_array.contact_address}</td>
        </tr>
    </table>
    <table class="ds-default-table">
        <tr>
            <th>公司营业执照</th>
            <td>
                <div class="content">
                    <img  src="{$http_name}/{$member_array.enterprise_license}" width="100" height="100" />
                </div>
            </td>
        </tr>
    </table>
    <table class="ds-default-table">
        <thead>
        <tr>
            <th colspan="6">授信信息</th>
        </tr>
        </thead>
        <tr>
            <th>授信额度：</th>
            <td><?php if($member_array['credit_status']==0){?>
                未授信
                <?php }else{ ?>
                {$member_array.credit_num}

                <?php } ?></td>
            <th>授信状态：</th>
            <td><?php if($member_array['credit_status']==0){?>
                未授信
                <?php }else{ ?>
                已授信
                <?php } ?></td>
        </tr>
        <tr>
            <th>开始时间：</th>
            <td><?php if($member_array['credit_status']==0){?>
                未授信
                <?php }else{ ?>
                {$member_array.credit_create_time|date="Y-m-d H:i:s",###}

                <?php } ?></td>
            <th>结束时间：</th>
            <td><?php if($member_array['credit_status']==0){?>
                未授信
                <?php }else{ ?>
                {$member_array.credit_end_time|date="Y-m-d H:i:s",###}

                <?php } ?></td>
        </tr>
    </table>

        </tbody>
    </table>
</div>
